from typing import Optional, List

import cv2
from pydantic import BaseModel, HttpUrl


class Account(BaseModel):
    user: str
    password: str


class VideoAttribute(BaseModel):
    path: str
    count: int
    height: int
    width: int
    fps: int
